<!DOCTYPE html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta name="format-detection" content="telephone=no" />
  <title>墨点课堂-在线教育书画学习平台</title>
  <meta
    content="墨点字帖,硬笔书法,毛笔书法,规范字书法在线教育,书画作品,在线培训,荆霄鹏楷书,新新图书"
    name="keywords"
  />
  <meta
    content="“墨点课堂”隶属于墨点旗下在线书画学习平台，公司积累了20多年字帖出版资源，致力于为用户提供专业的书画学习及教育服务，弘扬中国传统文化！一流的师资力量，精心的课程研发，采用在线互动教学形式，实现了APP内教学、服务一体化运营。"
    name="description"
  />
  <meta
    name="viewport"
    content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0 minimal-ui"
  />
  <meta name="apple-mobile-web-app-capable" content="yes" />
  <meta name="apple-mobile-web-app-status-bar-style" content="black" />
  <script src="../../../../js/jquery-1.8.3.min.js" charset="utf-8"></script>
</head>
<body>
  <script>
    //使用公众号appid微信网页授权获取code
    $(function () {
      //判断环境是否微信环境
      if (window.location.href.indexOf("weixin") > -1) {
        //微信环境
        var weixin_appid = "wxc0e54dc0583a9332";
        var weixin_redirect_uri =
          "https://www.modianketang.com/login_callback/weixin/Login/register_display.html";
        var weixin_scope = "snsapi_userinfo";
        var weixin_state = "STATE";
        var weixin_url = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${weixin_appid}&redirect_uri=${weixin_redirect_uri}&response_type=code&scope=snsapi_userinfo&state=9b38519179de7c5b16f4845a7f301b29#wechat_redirect`;

        window.location.href = weixin_url;
      }
    });
  </script>
</body>
